import { getList as black_getlist } from '@/api/blacklist'
import { getList as access_getList } from '@/api/accesslimit'
import { getList as change_getList } from '@/api/changelimit'
import { getList as expression_getList } from '@/api/expression'

export const itemCategory = [
  {
    label: '黑名单',
    value: 'black_list',
    func: black_getlist
  },
  {
    label: '访问频率',
    value: 'access_limit',
    func: access_getList
  },
  {
    label: '变化频率',
    value: 'change_limit',
    func: change_getList
  },
  {
    label: '表达式',
    value: 'expression',
    func: expression_getList
  }
]

export const collectionLogicOperator = [
  {
    label: '且',
    value: 'and'
  },
  {
    label: '或',
    value: 'or'
  }
]
